package org.jeecg.modules.product.risk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 检查项
 * @Author: jeecg-boot
 * @Date:   2024-05-21
 * @Version: V1.0
 */
@Schema(description="检查项")
@Data
@TableName("tb_base_check_item")
public class TbBaseCheckItem implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "id")
    private String id;
	/**创建人*/
    @Schema(description = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Schema(description = "创建日期")
    private Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Schema(description = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private String sysOrgCode;
	/**所属任务*/
	@Excel(name = "所属任务", width = 15, dictTable = "tb_base_check_task", dicText = "task_name", dicCode = "id")
    @Schema(description = "所属任务")
    private String taskId;
	/**检查序号*/
	@Excel(name = "检查序号", width = 15)
    @Schema(description = "检查序号")
    private String checkName;
	/**检查内容*/
	@Excel(name = "检查内容", width = 15)
    @Schema(description = "检查内容")
    private String checkContent;
	/**检查方式*/
	@Excel(name = "检查方式", width = 15)
    @Schema(description = "检查方式")
    private String checkWay;
	/**检查依据*/
	@Excel(name = "检查依据", width = 15)
    @Schema(description = "检查依据")
    private String checkBasis;
	/**适用场合*/
	@Excel(name = "适用场合", width = 15)
    @Schema(description = "适用场合")
    private String applicablePlace;
	/**删除标识*/
	@Excel(name = "删除标识", width = 15, dicCode = "yn")
    @Schema(description = "删除标识")
    private String deleted;
	/**检查表id*/
    @Schema(description = "检查表id")
    private String checkId;
    /**租户ID*/
    private Integer tenantId;
}
